package com.lt.lumentracks;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;


@MapperScan("com.lt.lumentracks.mapper") // 指定mapper接口的包名
@EnableScheduling // 开启定时任务功能
@EnableCaching // 开启缓存功能
@EnableAspectJAutoProxy(exposeProxy = true) // 开启AOP支持，并通过设置 exposeProxy = true 来暴露代理对象
@SpringBootApplication
public class LumentracksApplication {

    public static void main(String[] args) {
        SpringApplication.run(LumentracksApplication.class, args);
    }

}
